/*	Mech_ATTACK class declaration.
 *
*/

#ifndef VultureHarass_H_
#define VultureHarass_H_

#include "Behavior.h"
#include <BWAPI.h>

class VultureHarass : public Behavior
{
public:
	VultureHarass(std::string incName = "VultureHarass", unsigned int frameInterval = 24*50);
	
	void Enter();
	void Execute();
	void Exit();

	bool CheckConditions();
	BWAPI::Unit* findNearestEnemyWorker(BWAPI::Unit*);
	BWAPI::Unit* findNearestEnemy(BWAPI::Unit*);

private:
	// On which frame did we last send everyone to attack
	unsigned int lastHarassFrame;
	unsigned int harassInterval;
	int currentBaseScouting;
	Base*  baseHarassed1;
	Base*  baseHarassed2;
	bool attackEnemyBase;

};

#endif